home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2209 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.6 KB

  1. Path: sdd.hp.com!inn
  2. From: Jeff Grimmett <jgrimm@sdd.hp.com>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: YASL (was: AsynchIO (was: fastest file read method ??))
  5. Date: 28 Jan 1996 20:05:37 GMT
  6. Organization: Hewlett-Packard Company
  7. Message-ID: <4egkuh$j1q@news.sdd.hp.com>
  8. References: <w9YbsMD4ACazz9@jeff.dame.shnet.org> <w+RYXMD4FC8aRz1@_crisi.blackbox.shnet.org>    <4dsalp$t68@news1.halcyon.com> <4du0ju$84b@news.sdd.hp.com>    <4e2e76$9k3@toad.stack.urc.tue.nl> <4e3j8v$jd0@news.sdd.hp.com>    <4e7si4$ore@tuegate.tue.nl> <4e8asc$rht@news.sdd.hp.com> <1349.6599T1259T2701@amiga.pp.se>
  9. NNTP-Posting-Host: hpsdv330.sdd.hp.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
  14.  
  15. mikael.berglund@amiga.pp.se (Mikael Berglund) wrote:
  16.  
  17. >>My opinion as such differs from yours.  I have over a dozen so-called
  18. >>shared libraries in my LIBS: directory that are shared by ONE program,
  19. >>this is SHARING? What uses hyperion.library and centurion.library?  One
  20. >>program that I'm aware of.  If something else does, I don't have it.
  21. >
  22. >But you miss one thing here. The ONE program using the library would still
  23. >have to link it into the code thus making the code bigger and take up more
  24. >or less the same diskspace.
  25.  
  26. Fine.  But at least if it's linked, it's in the same place.  If/when I 
  27. decide that this program is a waste of electrons, simply deleting that 
  28. one program and/or its directory will take care of things, nice and tidy, 
  29. whereas if it sneaks a shared lib in on me, it'll still be there in the 
  30. year 2000, and I'll still be wondering how it got there.
  31.  
  32. >Granted, programmers should not place the library by default in LIBS: but
  33. >use the home directory if they are fairly sure no one else is using it. 
  34. Kinda negates having it in a shared library, then, doesn't it?
  35.  
  36. >From a programmers point of view there are many reasons to place code in a
  37. >shared library the most significant would be code reusability.
  38.  
  39. I will not deny this at all.
  40.  
  41. > Also it is
  42. >easy to flush libraries from memory that you do not need opposed to the
  43. >overlay technique which IMHO leaves many wishes to be satisfied.
  44.  
  45. Irrelevant to my point, really.  Whether the code is in an overlay, in 
  46. the program itself, or in BeepBop-a-ReeBop.library is irrelevant.  If no 
  47. one else will be using the library, it serves no purpose than to confuse 
  48. things.
  49.  
  50. I'd just like to see a little judgement used by developers, is all.  If 
  51. there's no real compelling reason to put it in a library, it shouldn't 
  52. be.  But, if you do, DOCUMENT IT and make the required files available to 
  53. other developers so that it is NOT a waste.
  54.  
  55.